package com.xd.core.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author SJ
 * @since 2023-03-14
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysUser对象", description="用户表")
public class AddSysUserDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工姓名")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "部门")
    private Integer groupId;

    @ApiModelProperty(value = "角色")
    private Integer roleId;

    @ApiModelProperty(value = "数据权限类型(1-个人，2-所属及下属部门，3-自定义部门)")
    private String dataPertType;

    @ApiModelProperty(value = "数据部门ID集")
    private String dataGroup;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户性别（0男，1女)")
    private String sex;

    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ApiModelProperty(value = "身份证正面图片地址")
    private String idCardFrontUrl;

    @ApiModelProperty(value = "身份证反面图片地址")
    private String idCardReverseUrl;

    @ApiModelProperty(value = "头像")
    private String avatar;


}
